import { Post } from '../axios';


export const pieapi = async () => {
    try {
        return await Post({ url: "/home/pie" });
    } catch (error) {
        throw error
    }
}



export const appdataapi = async () => {
    try {
        return await Post({ url: "/home/appdata" });
    } catch (error) {
        throw error
    }
}



export const linesapi = async () => {
    try {
        return await Post({ url: "/home/lastweek" });
    } catch (error) {
        throw error
    }
}


export const mapapi = async () => {
    try {
        return await Post({ url: "/home/mapdata" });
    } catch (error) {
        throw error
    }
}
